<style>
    .btn-group {
        margin-top: 15px;
    }

    .form-group {
        margin-top: 20px;
    }

    .input-group-text {
        margin-top: 15px;
    }

    .custom-select {
        width: 100px;
        height: 30px;
    }
</style>
<script src="/static/ueditor/ueditor.config.js"></script>
<script src="/static/ueditor/ueditor.all.min.js"></script>
<script src="/static/ueditor/lang/zh-cn/zh-cn.js"></script>
<div id="content-container" class="container">
    <div class="row">
        <div class="col-md-3">
            {include file="common/sidenav" /}
        </div>
        <div class="col-md-9">
            <div class="panel panel-default ">
                <div class="panel-body">

                    <table class="table table-bordered">
                        <caption>我的主题</caption>
                        <thead>
                            <tr >
                                <th style="text-align: center;">标题</th>
                                <th style="text-align: center;">发布时间</th>
                                <th style="text-align: center;">点赞</th>
                                <th style="text-align: center;">修改</th>
                                <th style="text-align: center;">删除</th>
                            </tr>
                        </thead>
                        <tbody>
                        {foreach name="tie" item="vo"}
                            <tr align="center">
                                <td>{$vo.title}</td>
                                <td>{$vo.createtime|date="Y-m-d H:i",###}</td>
                                <td>{$vo.likenum}</td>
                                <td><a class="btn btn-primary" href="{:url('index/user/updatetie', array('id' => $vo.id))}" role="button">修改</a></td>
                                <td><a class="btn btn-primary" href="{:url('index/user/deltie', array('id' => $vo.id))}" role="button">删除</a></td>
                            </tr>
                        {/foreach}
                        </tbody>
                    </table>



                </div>
            </div>
        </div>
    </div>


</div>
<script type="text/javascript">

    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
    UE.getEditor('content', { initialFrameWidth: 800, initialFrameHeight: 400, });
</script>